package com.example.basicdemo.model.builder;

import com.isyscore.os.dev.api.IsyscoreRequestBuilder;
import com.isyscore.os.dev.util.IsyscoreHashMap;

public class QueryUserByIdRequestBuilder extends IsyscoreRequestBuilder {

    private IsyscoreHashMap headers;

    /**
     * 用户 ID
     */
    private String userId;

    /**
     * 登录名
     */
    private String loginName;

    public IsyscoreHashMap getHeaders() {
        return headers;
    }

    public QueryUserByIdRequestBuilder setHeaders(IsyscoreHashMap headers) {
        this.headers = headers;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public QueryUserByIdRequestBuilder setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getLoginName() {
        return loginName;
    }

    public QueryUserByIdRequestBuilder setLoginName(String loginName) {
        this.loginName = loginName;
        return this;
    }

    @Override
    public boolean validate() {
        return true;
    }

}
